package com.qf.controller;

import com.qf.service.PermissionService;
import com.qf.vo.ResultVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @USER: Administrator
 * @DATE: 2025/9/6 下午4:36
 * @VERSION: 1.0.0
 */
@RestController
public class PermissionController {

    @Autowired
    private PermissionService permissionService;

    @GetMapping("/queryCurUserPermission")
    public ResultVO queryCurUserPermission() {
        return ResultVO.success(permissionService.queryCurUserPermission());
    }

}
